package com.rabbiter.common;

import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;

/*
 * 分页参数的封装类
 */
@Setter
@Getter
public class QueryPageParam {
    //设置默认值
    private int pageSize = 20;
    private int pageNum = 1;

    private HashMap param = new HashMap();

    @Override
    public String toString() {
        return "QueryPageParam{" +
                "pageSize=" + pageSize +
                ", pageNum=" + pageNum +
                ", param=" + param +
                '}';
    }
}
